Skip to content

Event type on hover and focus handlers#2586

Merged
hoffstadt merged 1 commit into
hoffstadt:masterfrom
v-ein:feature/handler-event-type
Jan 4, 2026
Merged

Event type on hover and focus handlers#2586
hoffstadt merged 1 commit into
hoffstadt:masterfrom
v-ein:feature/handler-event-type

Conversation

@v-ein
Copy link
Copy Markdown
Collaborator

@v-ein v-ein commented Dec 19, 2025


name: Pull Request
about: Create a pull request to help us improve
title: Event type on hover and focus handlers
assignees: ''


Description:
Focus and hover handlers can now track state changes like "mouse-in" or "lost focus". The PR adds an event_type argument that lets one choose when the handler will fire: when the corresponding item state bit is "on", when it changes to "on", or when it changes to "off" (or when it is "off", though I'm not sure who would ever need that). This allows for easy handling of events like "mouse-in", "mouse-out", "got focus", "lost focus".

Concerning Areas:
None.

@v-ein v-ein requested a review from hoffstadt December 19, 2025 13:51
@hoffstadt hoffstadt merged commit cc23d00 into hoffstadt:master Jan 4, 2026
4 checks passed
@v-ein v-ein deleted the feature/handler-event-type branch February 3, 2026 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants